home *** CD-ROM | disk | FTP | other *** search
- Path: lyra.csx.cam.ac.uk!lhkc100
- From: lhkc100@thor.cam.ac.uk (L.H.K. Chan)
- Newsgroups: comp.lang.c++
- Subject: Help! Strange error
- Date: 21 Apr 1996 13:06:03 GMT
- Organization: University of Cambridge, England
- Message-ID: <4ldbrr$hu0@lyra.csx.cam.ac.uk>
- NNTP-Posting-Host: hammer.thor.cam.ac.uk
-
- Hi expert! Recently I have got a compiler error which could hardly be understood.
- The compiler has given me the following error message.
-
- "Base class .... has incomplete type"
-
- But when I commented out a member function in the base class, the compiler did
- not complain any more.
-
- Actually the member function in question is something like
-
-
- Iterator<T> create_iterator() const;
-
-
- I have declared template Iterator<T> before "this base class". Anyone can help
- me?
-
- In general, where can you find explanations of common c++ compiler error messages
- (I am using g++ )
-
- Thanks in advance
-
- Kelvin
-